FROM openjdk:8
MAINTAINER corey<451459048@qq.com>
ENV LANG en_US.utf8
ENV TZ Asia/Shanghai
ENV MYPATH  /usr/local/
ARG APP_NAME
ADD $APP_NAME.jar $MYPATH
WORKDIR $MYPATH
ENTRYPOINT ["java","-jar","docker-jenkins-demo-1.0-SNAPSHOT.jar"]